<?php
/*
Template Name: Contact Us Template
*/
?>
<?php get_header(); ?>

		<div id="main">
			<div id="content" role="main" class="contact-template">
				<?php the_post(); ?>
				<article id="maincontent" <?php post_class('contactinfo'); ?>>
					<h1 class="entry-title"><?php the_title(); ?></h1>
					<div class="entry-content">
						<?php the_content( __( 'Continue reading <span class="meta-nav">&raquo;</span>', 'TecBridge' )  ); ?>
						<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'TecBridge' ) . '</span>', 'after' => '</div>' ) ); ?>
					</div><!-- .entry-content -->
					<div class="entry-utility">
						<?php edit_post_link( __( 'Edit', 'TecBridge' ), '<span class="edit-link">', '</span>' ) ?>
					</div><!-- #entry-utility -->
				</article>
				
				<?php query_posts(array('post_type'=>'contact')); ?>
				<?php if (have_posts()) : the_post(); ?>
					<article id="detailedinfo" class="contactinfo no_addthis">
						<div class="entry-content">
							<?php the_content(); ?>
						</div>
						<div class="entry-utility">
							<?php edit_post_link( __( 'Edit', 'TecBridge' ), '<span class="edit-link">', '</span>' ) ?>
						</div><!-- #entry-utility -->
					</article>
				<?php endif; ?>
			</div>
		</div>

<?php get_footer(); ?>